﻿using Model.Dto.AddressBook;
using Model.Dto.ShoppingCart;
using Model.Entitys;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace IService
{
    public interface IAddressBookService
    {
        Task<bool> SaveAsync(AddressBookAdd addressBookAdd);
        Task SetDefaultAsync(AddressBookEdit addressBookEdit);
        Task<AddressBook> GetAddressBookByIdAsync(long id);
        Task<AddressBook> GetDefaultAsync(long id);
        Task<List<AddressBook>> GetAddressBooksAsync(long id);
    }
}
